Package com.cisco.pt.ipc.events
Class MACSwitchEventRegistry
java.lang.Object
com.cisco.pt.ipc.events.IPCEventRegistry
com.cisco.pt.ipc.events.MACSwitchEventRegistry
An event for the IPC's MACSwitchEventRegistry values
- Author:
- packettracerexapps@external.cisco.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Set<MACSwitchEventListener>protected Map<String,Set<MACSwitchEventListener>> Fields inherited from class com.cisco.pt.ipc.events.IPCEventRegistry
session, WILDCARD_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(MACSwitchEventListener listener) voidaddListener(MACSwitchEventListener listener, MACSwitch objClass) voidaddListenerFiltered(MACSwitchEventListener listener, List<String> events) voidaddSpecificListenerFiltered(MACSwitchEventListener listener, MACSwitch objClass, List<String> events) voidprocessEvent(IPCEventLTV event) voidremoveListener(MACSwitchEventListener listener) voidremoveListener(MACSwitchEventListener listener, MACSwitch objClass) voidremoveListenerFiltered(MACSwitchEventListener listener, List<String> events) voidremoveSpecificListenerFiltered(MACSwitchEventListener listener, MACSwitch objClass, List<String> events) Methods inherited from class com.cisco.pt.ipc.events.IPCEventRegistry
deregister, deregister, register, register
-
Field Details
-
globalListeners
-
specificObjectListeners
-
-
Constructor Details
-
MACSwitchEventRegistry
-
-
Method Details
-
getClassName
- Specified by:
getClassNamein classIPCEventRegistry
-
processEvent
- Specified by:
processEventin classIPCEventRegistry- Throws:
Exception
-
addListenerFiltered
public void addListenerFiltered(MACSwitchEventListener listener, List<String> events) throws IOException - Throws:
IOException
-
addSpecificListenerFiltered
public void addSpecificListenerFiltered(MACSwitchEventListener listener, MACSwitch objClass, List<String> events) throws IOException - Throws:
IOException
-
removeListenerFiltered
public void removeListenerFiltered(MACSwitchEventListener listener, List<String> events) throws IOException - Throws:
IOException
-
removeSpecificListenerFiltered
public void removeSpecificListenerFiltered(MACSwitchEventListener listener, MACSwitch objClass, List<String> events) throws IOException - Throws:
IOException
-
addListener
- Throws:
IOException
-
addListener
- Throws:
IOException
-
removeListener
- Throws:
IOException
-
removeListener
- Throws:
IOException
-